import { request } from '@/utils/http';
/**
 * 提交
 * @param params
 * @returns
 */
export function rechargeSubmit(params) {
    return request.Post('/api/recharge/submit', params);
}
/**
 * 详情
 * @param params
 * @returns
 */
export function getDetailByCode(params) {
    return request.Get('/api/recharge/detailByCode', { params });
}
/**
 * 支付
 * @param params
 * @returns
 */
export function rechargePay(params) {
    return request.Post('/api/recharge/pay', params);
}
/**
 * 充值记录
 * @param params
 * @returns
 */
export function rechargeLog(params) {
    return request.Put('/api/recharge/log', params);
}
